import request from '@/router/axios';

// 获取报告时间
export const getReportTime = (offerId) => {
  return request({
    url: '/api/beetles-offer/monitor/get-report-date',
    method: 'get',
    params: {
      offerId: offerId
    }
  });
}
// 获取table列表数据
export const getTableList = (offerId) => {
  return request({
    url: '/api/beetles-offer/monitor/table',
    method: 'get',
    params: {
      offerId: offerId
    }
  });
}

//违规使用的素材列表
export const getIllegalUseList = (params) => {
  return request({
    url: '/api/beetles-offer/monitor/list',
    method: 'get',
    params: {
      ...params
    }
  });
}


//一键生成处理通知
export const getDealNotice = (offerId) => {
  return request({
    url: '/api/beetles-offer/monitor/get-deal-notice',
    method: 'get',
    params: {
      offerId,
    }
  });
}
